package com.csap.framework.validation.constraintvalidators;

import javax.validation.ConstraintValidator;
import javax.validation.ConstraintValidatorContext;
import javax.validation.constraints.NotEmpty;
import java.util.Collection;

/**
 * @author yangchengfu
 * @description
 * @dataTime 2020年-03月-12日 14:09:00
 **/
public final class NotEmptyValidatorForCollection implements ConstraintValidator<NotEmpty, Collection< ? extends Object>> {
    @Override
    public boolean isValid(Collection<?> objects, ConstraintValidatorContext constraintValidatorContext) {
        return false;
    }
}
